package com.apes.framework.plugin.esb.processor;

import com.alibaba.fastjson.JSONObject;
import com.apes.framework.plugin.esb.api.SimpleRequest;

/**
 * 类描述：
 *
 * @ClassName MapToJsonProcessor
 * @Description 描述
 * @Author wushilong
 * @Date 2022/10/14 9:23
 * @Version 1.0
 */
public class MapToStringProcessor <T extends SimpleRequest, R> extends AbstractChainProcessor<T, R> {


    @Override
    protected R doProcess(T data) {
        String toString = data.getJO().toString();
        return (R) toString;
    }
}
